package com.xbts.system.api;

import com.xbts.common.core.constant.ServiceNameConstants;
import com.xbts.common.core.domain.R;
import com.xbts.common.core.web.domain.AjaxResult;
import com.xbts.system.api.domain.SysFile;
import com.xbts.system.api.factory.RemoteFileFallbackFactory;
import com.xbts.system.api.factory.RemoteScreenFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件服务
 *
 * @author xbts
 */
@FeignClient(contextId = "remoteScreenService", value = ServiceNameConstants.SCREEN_SERVICE, fallbackFactory = RemoteScreenFallbackFactory.class)
public interface RemoteScreenService {
    /**
     * 定时任务
     */
    @GetMapping(value = "/screen/produceInformationStatistics/task")
    public AjaxResult task();
}
